﻿using System;
using System.ComponentModel.DataAnnotations;
using ZhongJia.Core.Consts;

namespace GuanQL.Service.Accounts.Dto
{
    public class EditInfoInput
    {
        public Guid AvatarId { get; set; }

        [Display(Name = "昵称")]
        [Required(AllowEmptyStrings = false, ErrorMessage = "{0}未输入")]
        [MaxLength(Validations.GeneralShortestLength, ErrorMessage = "{0}不能超过{1}字")]
        public string NickName { get; set; }
    }
}
